import React, { Component } from 'react'

export default class Child11 extends Component {
    shouldComponentUpdate(nextProps,nextState){
        console.log('nextProps',nextProps);
        console.log('currentProps',this.props);
        if(nextProps.count!=this.props.count){
            return true
        }else{
            return false
        }
      
    }
    render() {
        console.log('------Child11的render-----------');
        return (
          <div style={{
            width:'100px',
            height:'100px',
            backgroundColor:'blue'
          }}>Child11</div>
        )
      }
}
